
import java.util.Scanner;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main
{
    public static void main(String[] args)
    {
        Scanner in = new Scanner(System.in); char[] s = in.next().toCharArray();
        for(int i = 0; i < s.length; i++)
        {
            if(s[i] % 2 == 0) s[i] = '0'; else s[i] = '1';
        }
        // 处理⼀下前导零
        int i = 0;
        while(i < s.length - 1 && s[i] == '0') i++; while(i < s.length) {
        System.out.print(s[i++]);
        }
    }
}

